call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 21 Feb 2021 17:00:31 +0000 (17:00 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 21 Feb 2021 17:00:31 +0000 (17:00 +0000)
commit71144c1e3433cf0433b763d72f8c5c66bb5ac0f9
treedeb7d9bf00d41298ed489ed285cd6f093ecd9d39
parenta7e35144151fc3fca991754fea4c08351a3f6b41
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json